
package com.hanhai.zrb.api.biz.service;

import com.hanhai.zrb.api.biz.result.UserCenterResult;
import com.hanhai.zrb.model.common.ValidateCodeSend.BizTypeEnum;
import com.hanhai.zrb.model.user.User;
import com.hanhai.zrb.model.user.vo.UserRegisterVo;

public interface UserRegisterService {

	void saveUser(User user);

	UserCenterResult sendSMSCode(String mobileNum, String key,
			BizTypeEnum type, int codeType);

	/**
	 * 用户注册，适用于手机和邮箱
	 */
	UserCenterResult doRegisterByMobile(UserRegisterVo userRegisterVo);

	

	UserCenterResult checkSMSCode(String mobilephone, String code,
			BizTypeEnum mobilebindingformodifymobile);

	UserCenterResult sendCodeByEmail(String email, String key,
			BizTypeEnum type, int codeType);
	
	

}
